let router =require('express').Router()

// 导入路由执行函数
let {upload} = require('../controller/upload.js')
let {testRegister,testLogin,testId,testToken,testname,testinfo} = require('../middleware/users')

// 这里是上传图片的接口
router.post('/upload',upload)
// 这里是登录的接口
// router.post('/login',testLogin,LoginHandler)

module.exports = router